package com.jzfai;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@ServletComponentScan//要使用Servlet filter listen  要加ServletComponentScan属性
@MapperScan("com.jzfai.mapper")//扫面mapper包
@EnableScheduling  //开启定时任务
@EnableAsync //开启异步任务
@SpringBootApplication
public class JizhifaiApplication {
    public static void main(String[] args) {
        SpringApplication.run(JizhifaiApplication.class, args);
    }
}

